package com.inspinia.base.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 线程使用辅助类
 */
public class ThreadHelper {

    /**
     * 日志对象
     */
    private static Logger logger = LoggerFactory.getLogger(ThreadHelper.class);

    public static void sleep(int timeout) {
        try {
            Thread.sleep(timeout);
        } catch (InterruptedException e) {
            logger.error("", e);
        }
    }
}
